import App from './App'
import Vue from 'vue'
import './uni.promisify.adaptor'
import utils from '@/utils/utils.js'
import uView from "uview-ui";
Vue.use(uView);
import $api from 'config/api'
Vue.prototype.$api = $api
Vue.prototype.$http = uni.$u.http
import store from './store'
Vue.prototype.$store = store;
import httpInterceptor, { baseUrl } from '@/common/http.interceptor.js'
import globalMixin from '@/utils/globalMixin';
Vue.mixin(globalMixin);
Vue.config.productionTip = false
Vue.prototype.$utils = utils
App.mpType = 'app'
const app = new Vue({
  ...App
})
Vue.use(httpInterceptor, app)
app.$mount()
